import requests

if __name__ == "__main__":
    x = requests.get("https://www.w3cschool.cn")
    print(x.status_code)
    print(x.reason)
    print(x.apparent_encoding)